/*
Copyright [2023] [fuwen_soft]
*/
package vip.xiaonuo.modular.xygenealogy.param;
import java.time.LocalDateTime;
import vip.xiaonuo.core.pojo.base.param.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;

/**
* 谱文参数类
 *
 * @author yanwei
 * @date 2023-05-05 15:44:28
*/
@Data
@ApiModel("谱文 查询条件")
public class XyGenealogyParam extends BaseParam {

    /**
     * 
     */
    @NotNull(message = "不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    @ApiModelProperty("")
    private String id;

    /**
     * 类目编号
     */
    @NotBlank(message = "类目编号不能为空，请检查cateId参数", groups = {add.class, edit.class})
    private String cateId;

    /**
     * 类目名称
     */
    @NotBlank(message = "类目名称不能为空，请检查cateName参数", groups = {add.class, edit.class})
    private String cateName;

    /**
     * 家谱编号
     */
    @NotBlank(message = "家谱编号不能为空，请检查logyId参数", groups = {add.class, edit.class})
    private String logyId;

    /**
     * 标题
     */
    @NotBlank(message = "标题不能为空，请检查title参数", groups = {add.class, edit.class})
    private String title;

    /**
     * 图片封面
     */
    @NotBlank(message = "图片封面不能为空，请检查imgUrl参数", groups = {add.class, edit.class})
    private String imgUrl;

    /**
     * 谱文富文本
     */
    @NotBlank(message = "谱文富文本不能为空，请检查content参数", groups = {add.class, edit.class})
    private String content;

}
